#ifndef APPEARANCE_H
#define APPEARANCE_H

#include <QApplication>
namespace HIM {
class Appearance
{
public:
    static bool LoadStyle(QApplication &app,QString qss_file);
    static bool LoadTranslate(QApplication &app,QString trans_file);

private:
    Appearance()=default;
    ~Appearance()=default;
};
}

#include <exception>
#include <string>

class AppearanceException : public std::exception{
private:
    std::string str;
public:
    AppearanceException(std::string s){
        str=s;
    }
    const char * what () const throw () {
         return str.c_str();
      }
};

#endif // APPEARANCE_H
